<?php

namespace app\common\validate;

class ServicePackageValidate extends BaseValidate {
    /**
     * 验证规则
     */
    protected $field = [
        'id'               => '',
        'store_id'         => '门店',
        'package_name'     => '健康包名称',
        'price'            => '价格',
        'commission_price' => '营销业绩(提成金额)',
        'expire_day'       => '使用时长',
        'content'          => '使用说明',
        'create_time'      => '',
        'update_time'      => '',

    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'getServicePackagePage' => [],
        'getServicePackageList' => [],
        'setServicePackageItem' => [
            "id"                   => "require",
            "store_id"             => "require",
            "package_name"         => "require",
            "price"                => "require",
            "commission_price"     => "require",
            "expire_day"           => "require",
            "content"              => "require",
            "service_package_item" => "require"
        ],
        'addServicePackageItem' => [
            "store_id"             => "require",
            "package_name"         => "require",
            "price"                => "require",
            "commission_price"     => "require",
            "expire_day"           => "require",
            "content"              => "require",
            "service_package_item" => "require"
        ],
    ];

    /**
     * 提示消息
     */
    protected $message = [

    ];


}
